#define _CRT_SECURE_NO_WARNINGS 1
#pragma warning(disable:4996)
#include"Stack.h"
void test01() {
    Stack s1;
    stackInit(&s1);
    stackPush(&s1, 2);
    stackPush(&s1, 298);
    stackPush(&s1, 26);
    stackPush(&s1, 277);
    stackPush(&s1, 111);
    printf("%d\n", stackSize(&s1));
    while (!stackIsEmpty(&s1)) {
        printf("%d ", stackTop(&s1));
        stackPop(&s1);
    }
    stackDestroy(&s1);
}
int main(){
    test01();
    
    return 0;
}